package com.hdax.dm.common.api;

import com.hdax.dm.base.DmArea;
import com.hdax.dm.base.Image;
import com.hdax.dm.item.ItemType;
import com.hdax.dm.utils.response.CommonResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public interface ImageControllerApi {

    @PostMapping(path = "/rest/item/image")
    Image image(@RequestParam("targetId")Long targetId,
                       @RequestParam("type")Long type,
                       @RequestParam("category")Long category);
    @PostMapping(path = "/dmarea")
    List<DmArea> dmArea();

}
